import React from 'react';

import {

} from 'react-native';

import Constants from '../../common/Constants';
import CommonSendFetchAction from '../common/CommonSendFetchAction';

export default class CommonRequestSliderImagesAction extends CommonSendFetchAction {
  constructor() {
    super();
    this.moduleType = Constants.MODULE_TYPE.COMMON;
    this.name = "CommonRequestSliderImagesAction";
  }

  _dealFinishSucess(data, response) {
    if(this.caller.requestBack !==undefined)
    {
      this.caller.requestBack(data);
    }

    this.caller.setState({
      data: data,
    });
  }
}
